package org.neptune.common.constant;

public class NeptuneConstant {

	public static final String APP_NAME = "neptune";

	public static final String PASSWORD_ENCRYPT_KEY = "123456789";

	public static final String WEBSOCKET_USER = "websocket_user";

	/** 无效 */
	public static final int STATUS_INVALID = -1;

	/** 成功 */
	public static final int STATUS_SUCCESS = 0;

	/** 已付款 */
	public static final int STATUS_PAID = 1;

	public static final String COMMON_TRUE = "true";

	public static final String COMMON_FALSE = "false";

	/** 日志队列名称 */
	public static final String LOG_QUEUE_NAME = "seckill_log_queue";

	public static final String LOG_JSON_QUENE_NAME = "log_json_quene_name";

	/** 秒杀队列 */
	public static final String SECKILL_QUENE_NAME = "seckill_queue_name";

	/**
	 * 秒杀死信队列交换机
	 */
	public static final String SECKILL_EXCHANGE_NAME = "seckill_exchange_name";

	/**
	 * 秒杀死信队列
	 */
	public static final String SECKILL_DLXQUEUE_NAME = "seckill_dlxqueue_name";

	/**
	 * 秒杀延迟队列交换机
	 */
	public static final String SECKILL_DELAY_EXCHANGE_NAME = "seckill_delay_exchange_name";

	/**
	 * 秒杀延迟队列
	 */
	public static final String SECKILL_DELAY_QUEUE_NAME = "seckill_delay_queue_name";

	public static final String SECKILL_DELAY_QUEUE_ROUTE_KEY = "seckill_delay_queue_route_key";

	public static final String SECKILL_DLXQUEUE_ROUTE_KEY = "seckill_dlxqueue_route_key";

	/**
	 * 首页评论队列
	 */
	public static final String HOME_COMMENT_QUENE_NAME = "home_comment_quene_name";

	public static final String REDIS_SECKILL_KEY_PREFIX = "seckill_key";

	/** 商品库存 */
	public static final String REDIS_SECKILL_GOODS_COUNT = "seckill_goods_count";

	/** 用户订单缓存 */
	public static final String REDIS_SECKILL_USER_ORDER = "redis_seckill_user_order";

	/** 用户支付成功缓存 */
	public static final String REDIS_SECKILL_USER_PAID = "redis_seckill_user_paid";

	/** 商品信息 */
	public static final String REDIS_SECKILL_GOODS_INFO = "seckill_goods_info";

	/** 秒杀请求数量 */
	public static final String REDIS_SECKILL_REQUEST_COUNT_IP = "seckill_request_count_ip";

	public static final String REDIS_SECKILL_REQUEST_COUNT_USER = "seckill_request_count_user";

	/** 用户登录session缓存key */
	public static final String REDIS_SECKILL_SESSION = "seckill_session";

	/** 秘钥缓存 */
	public static final String REDIS_RSAKEY_SESSION = "rsakey_session";

	public static final String SALT = "";

	/**
	 * session缓存
	 */
	public static final String REDIS_SHIRO_SESSION_CACHE = "redis_shiro_session_cache";

	/**
	 * 图片验证码缓存信息
	 */
	public static final String REDIS_CAPTCHA_CACHE = "redis_captcha_cache";

	public static final String ESLOGBEAN_INDEX_NAME = "eslogbean";
}
